package service.edu.mapper;

import org.apache.ibatis.annotations.Mapper;
import service.edu.entity.Course;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import service.edu.entity.vo.CoursePublish;
import service.edu.entity.vo.IndexCourseAll;

/**
 * <p>
 * 课程 Mapper 接口
 * </p>
 *
 * @author diao
 * @since 2020-08-05
 */
public interface CourseMapper extends BaseMapper<Course> {
    //根据课程id进行复杂查询
    CoursePublish getCoursePublishInfo(String courseId);

    IndexCourseAll getIndexCourseInfo(String courseId);
}
